package com.iespring.mapper.admin;

import com.iespring.bean.admin.user.bo.ConfigBo;
import com.iespring.bean.admin.user.entity.MallSystem;
import com.iespring.bean.admin.user.entity.MallSystemExample;

import java.util.HashMap;
import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface MallSystemMapper {
    long countByExample(MallSystemExample example);

    int deleteByExample(MallSystemExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(MallSystem record);

    int insertSelective(MallSystem record);

    List<MallSystem> selectByExample(MallSystemExample example);

    MallSystem selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") MallSystem record, @Param("example") MallSystemExample example);

    int updateByExample(@Param("record") MallSystem record, @Param("example") MallSystemExample example);

    int updateByPrimaryKeySelective(MallSystem record);

    int updateByPrimaryKey(MallSystem record);


    String selectSystemValueByKeyName(@Param("keyName") String keyName);

    Integer updateByConfigMallVo(@Param("map") HashMap<String, String> map);

    Integer updateByConfigMallVoList(@Param("maps") List<ConfigBo> pushs);
}